/**
 * token.js
 * token操作文件
 * 对token进行操作各项操作
 */
import {
	TOKEN_KEY
} from "'./enums/cacheEnum.js"

export const getToken = () => {
	return uni.getStorageSync(TOKEN_KEY);
}

export const setToken = (token) => {
	return uni.setStorageSync(TOKEN_KEY, token);
}

export const removeToken = () => {
	return uni.removeStorageSync(TOKEN_KEY);
}